#pragma once

#include <fstream>
#include "Singleton.h"

namespace GraphCutLib
{
	class Logger : public	Singleton<Logger>
	{
	private:

		std::fstream	m_stream;

	public:
		
	public:
		Logger(void);
		~Logger(void);

		static Logger* getInstance();

		void reset(const std::string &fileName);
		void init(const std::string &fileName);
		void clear();
		void log(const std::string &info);
	};
}